package cn.ad.server.web.servlet.v2.requests;

import cn.ad.server.web.spring.model.AdResponse;

/**
 * 监测请求响应类
 * @author Wu Chengjun
 *
 */
public class TrackingResponse extends AdResponse {

	/**
	 * 异常信息。
	 */
	private String exceptionMsg;
	/**
	 * 平台标识
	 */
	private int adxType;
	
	/**
	 * 广告位ID
	 */
	private long adspaceId;
	
	/**
	 * 广告类型 -- 	"1：横幅 2：插屏 3：开屏 4：视频 5：原生"
	 */
	private int adFormat;
	
	/**
	 * 广告位的宽度，单位为像素	
	 */
	private int creativeWidth;
	
	
	/**
	 * 广告位的高度，单位为像素
	 */
	private int creativeHeight;
	
	/**
	 * 跟踪使用的唯一串号类型 
	 * "唯一串号依序作为后续消息跟踪的依据： 1 - mac 2 - mac1 3 - imei 4 - idfa 5 - duid 6 - androidid 7 - udid 8 - aaid 9 - cookie"
	 */
	private String muniqueType;
	/**
	 * 跟踪使用的唯一串号
	 * Muniquetype对应的ID，便于报告计算UV
	 */
	private String muniqueId;
	
	/**
	 * 设备使用的运营商，MCC+MNC
	 */
	private String mobOps;
	
	/**
	 * 设备制造/品牌
	 */
	private String brand;
	
	/**
	 * 设备型号
	 */
	private String model;
	
	/**
	 * 	设备操作系统
	 */
	private String os;
	
	
	private String osVersion;
	
	private int connType;
	
	private int deviceType;
	
	private int screenWidth;
	
	private int screenHeight;
	
	private String latitude;
	
	private String longitude;
	
	private int countryId;
	
	private int stateId;
	private int cityId;
	private int areaId;
	private String browser;
	private long campaignId;
	private long strategyId;
	private long creativeId;
	private long templateId;
	private long materialId;
	private double income;
	private double payment;
	private String ip;

	private String platformId;

	private String mac;
	private String mac1;
	private String imei;
	private String anid;
	private String aaid;
	private String idfa;
	private String udid;
	private String duid;

	private String imeisha1;
	// idfa的sha1
	private String dpidsha1;
	private String macsha1;
	private String imeimd5;
	// idfa的md5
	private String dpidmd5;
	private String macmd5;
	private String customId;
	
	private String openUdid;
	
	
	
	public TrackingResponse(int status) {
		super(status);
	}
	
	
	public TrackingResponse() {
		super();
	}

	/**
	 * @return the adspaceId
	 */
	public long getAdspaceId() {
		return adspaceId;
	}
	/**
	 * @param adspaceId the adspaceId to set
	 */
	public void setAdspaceId(long adspaceId) {
		this.adspaceId = adspaceId;
	}
	/**
	 * @return the adFormat
	 */
	public int getAdFormat() {
		return adFormat;
	}
	/**
	 * @param adFormat the adFormat to set
	 */
	public void setAdFormat(int adFormat) {
		this.adFormat = adFormat;
	}
	/**
	 * @return the creativeWidth
	 */
	public int getCreativeWidth() {
		return creativeWidth;
	}
	/**
	 * @param creativeWidth the creativeWidth to set
	 */
	public void setCreativeWidth(int creativeWidth) {
		this.creativeWidth = creativeWidth;
	}
	/**
	 * @return the creativeHeight
	 */
	public int getCreativeHeight() {
		return creativeHeight;
	}
	/**
	 * @param creativeHeight the creativeHeight to set
	 */
	public void setCreativeHeight(int creativeHeight) {
		this.creativeHeight = creativeHeight;
	}
	/**
	 * @return the muniqueType
	 */
	public String getMuniqueType() {
		return muniqueType;
	}
	/**
	 * @param muniqueType the muniqueType to set
	 */
	public void setMuniqueType(String muniqueType) {
		this.muniqueType = muniqueType;
	}
	/**
	 * @return the muniqueId
	 */
	public String getMuniqueId() {
		return muniqueId;
	}
	/**
	 * @param muniqueId the muniqueId to set
	 */
	public void setMuniqueId(String muniqueId) {
		this.muniqueId = muniqueId;
	}
	/**
	 * @return the mobOps
	 */
	public String getMobOps() {
		return mobOps;
	}
	/**
	 * @param mobOps the mobOps to set
	 */
	public void setMobOps(String mobOps) {
		this.mobOps = mobOps;
	}
	/**
	 * @return the brand
	 */
	public String getBrand() {
		return brand;
	}
	/**
	 * @param brand the brand to set
	 */
	public void setBrand(String brand) {
		this.brand = brand;
	}
	/**
	 * @return the model
	 */
	public String getModel() {
		return model;
	}
	/**
	 * @param model the model to set
	 */
	public void setModel(String model) {
		this.model = model;
	}
	/**
	 * @return the os
	 */
	public String getOs() {
		return os;
	}
	/**
	 * @param os the os to set
	 */
	public void setOs(String os) {
		this.os = os;
	}
	/**
	 * @return the osVersion
	 */
	public String getOsVersion() {
		return osVersion;
	}
	/**
	 * @param osVersion the osVersion to set
	 */
	public void setOsVersion(String osVersion) {
		this.osVersion = osVersion;
	}
	/**
	 * @return the connType
	 */
	public int getConnType() {
		return connType;
	}
	/**
	 * @param connType the connType to set
	 */
	public void setConnType(int connType) {
		this.connType = connType;
	}
	/**
	 * @return the deviceType
	 */
	public int getDeviceType() {
		return deviceType;
	}
	/**
	 * @param deviceType the deviceType to set
	 */
	public void setDeviceType(int deviceType) {
		this.deviceType = deviceType;
	}
	/**
	 * @return the screenWidth
	 */
	public int getScreenWidth() {
		return screenWidth;
	}
	/**
	 * @param screenWidth the screenWidth to set
	 */
	public void setScreenWidth(int screenWidth) {
		this.screenWidth = screenWidth;
	}
	/**
	 * @return the screenHeight
	 */
	public int getScreenHeight() {
		return screenHeight;
	}
	/**
	 * @param screenHeight the screenHeight to set
	 */
	public void setScreenHeight(int screenHeight) {
		this.screenHeight = screenHeight;
	}
	/**
	 * @return the latitude
	 */
	public String getLatitude() {
		return latitude;
	}
	/**
	 * @param latitude the latitude to set
	 */
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	/**
	 * @return the longitude
	 */
	public String getLongitude() {
		return longitude;
	}
	/**
	 * @param longitude the longitude to set
	 */
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	/**
	 * @return the countryId
	 */
	public int getCountryId() {
		return countryId;
	}
	/**
	 * @param countryId the countryId to set
	 */
	public void setCountryId(int countryId) {
		this.countryId = countryId;
	}
	/**
	 * @return the stateId
	 */
	public int getStateId() {
		return stateId;
	}
	/**
	 * @param stateId the stateId to set
	 */
	public void setStateId(int stateId) {
		this.stateId = stateId;
	}
	/**
	 * @return the cityId
	 */
	public int getCityId() {
		return cityId;
	}
	/**
	 * @param cityId the cityId to set
	 */
	public void setCityId(int cityId) {
		this.cityId = cityId;
	}
	/**
	 * @return the areaId
	 */
	public int getAreaId() {
		return areaId;
	}
	/**
	 * @param areaId the areaId to set
	 */
	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}
	/**
	 * @return the browser
	 */
	public String getBrowser() {
		return browser;
	}
	/**
	 * @param browser the browser to set
	 */
	public void setBrowser(String browser) {
		this.browser = browser;
	}
	/**
	 * @return the campaignId
	 */
	public long getCampaignId() {
		return campaignId;
	}
	/**
	 * @param campaignId the campaignId to set
	 */
	public void setCampaignId(long campaignId) {
		this.campaignId = campaignId;
	}
	/**
	 * @return the strategyId
	 */
	public long getStrategyId() {
		return strategyId;
	}
	/**
	 * @param strategyId the strategyId to set
	 */
	public void setStrategyId(long strategyId) {
		this.strategyId = strategyId;
	}
	/**
	 * @return the creativeId
	 */
	public long getCreativeId() {
		return creativeId;
	}
	/**
	 * @param creativeId the creativeId to set
	 */
	public void setCreativeId(long creativeId) {
		this.creativeId = creativeId;
	}
	/**
	 * @return the templateId
	 */
	public long getTemplateId() {
		return templateId;
	}
	/**
	 * @param templateId the templateId to set
	 */
	public void setTemplateId(long templateId) {
		this.templateId = templateId;
	}
	/**
	 * @return the materialId
	 */
	public long getMaterialId() {
		return materialId;
	}
	/**
	 * @param materialId the materialId to set
	 */
	public void setMaterialId(long materialId) {
		this.materialId = materialId;
	}
	/**
	 * @return the income
	 */
	public double getIncome() {
		return income;
	}
	/**
	 * @param income the income to set
	 */
	public void setIncome(double income) {
		this.income = income;
	}
	/**
	 * @return the payment
	 */
	public double getPayment() {
		return payment;
	}
	/**
	 * @param payment the payment to set
	 */
	public void setPayment(double payment) {
		this.payment = payment;
	}
	/**
	 * @return the ip
	 */
	public String getIp() {
		return ip;
	}
	/**
	 * @param ip the ip to set
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}
	/**
	 * @return the platformId
	 */
	public String getPlatformId() {
		return platformId;
	}
	/**
	 * @param platformId the platformId to set
	 */
	public void setPlatformId(String platformId) {
		this.platformId = platformId;
	}
	/**
	 * @return the mac
	 */
	public String getMac() {
		return mac;
	}
	/**
	 * @param mac the mac to set
	 */
	public void setMac(String mac) {
		this.mac = mac;
	}
	/**
	 * @return the mac1
	 */
	public String getMac1() {
		return mac1;
	}
	/**
	 * @param mac1 the mac1 to set
	 */
	public void setMac1(String mac1) {
		this.mac1 = mac1;
	}
	/**
	 * @return the imei
	 */
	public String getImei() {
		return imei;
	}
	/**
	 * @param imei the imei to set
	 */
	public void setImei(String imei) {
		this.imei = imei;
	}
	/**
	 * @return the anid
	 */
	public String getAnid() {
		return anid;
	}
	/**
	 * @param anid the anid to set
	 */
	public void setAnid(String anid) {
		this.anid = anid;
	}
	/**
	 * @return the aaid
	 */
	public String getAaid() {
		return aaid;
	}
	/**
	 * @param aaid the aaid to set
	 */
	public void setAaid(String aaid) {
		this.aaid = aaid;
	}
	/**
	 * @return the idfa
	 */
	public String getIdfa() {
		return idfa;
	}
	/**
	 * @param idfa the idfa to set
	 */
	public void setIdfa(String idfa) {
		this.idfa = idfa;
	}
	/**
	 * @return the udid
	 */
	public String getUdid() {
		return udid;
	}
	/**
	 * @param udid the udid to set
	 */
	public void setUdid(String udid) {
		this.udid = udid;
	}
	/**
	 * @return the duid
	 */
	public String getDuid() {
		return duid;
	}
	/**
	 * @param duid the duid to set
	 */
	public void setDuid(String duid) {
		this.duid = duid;
	}
	/**
	 * @return the imeisha1
	 */
	public String getImeisha1() {
		return imeisha1;
	}
	/**
	 * @param imeisha1 the imeisha1 to set
	 */
	public void setImeisha1(String imeisha1) {
		this.imeisha1 = imeisha1;
	}
	/**
	 * @return the dpidsha1
	 */
	public String getDpidsha1() {
		return dpidsha1;
	}
	/**
	 * @param dpidsha1 the dpidsha1 to set
	 */
	public void setDpidsha1(String dpidsha1) {
		this.dpidsha1 = dpidsha1;
	}
	/**
	 * @return the macsha1
	 */
	public String getMacsha1() {
		return macsha1;
	}
	/**
	 * @param macsha1 the macsha1 to set
	 */
	public void setMacsha1(String macsha1) {
		this.macsha1 = macsha1;
	}
	/**
	 * @return the imeimd5
	 */
	public String getImeimd5() {
		return imeimd5;
	}
	/**
	 * @param imeimd5 the imeimd5 to set
	 */
	public void setImeimd5(String imeimd5) {
		this.imeimd5 = imeimd5;
	}
	/**
	 * @return the dpidmd5
	 */
	public String getDpidmd5() {
		return dpidmd5;
	}
	/**
	 * @param dpidmd5 the dpidmd5 to set
	 */
	public void setDpidmd5(String dpidmd5) {
		this.dpidmd5 = dpidmd5;
	}
	/**
	 * @return the macmd5
	 */
	public String getMacmd5() {
		return macmd5;
	}
	/**
	 * @param macmd5 the macmd5 to set
	 */
	public void setMacmd5(String macmd5) {
		this.macmd5 = macmd5;
	}
	/**
	 * @return the customId
	 */
	public String getCustomId() {
		return customId;
	}
	/**
	 * @param customId the customId to set
	 */
	public void setCustomId(String customId) {
		this.customId = customId;
	}
	/**
	 * @return the openUdid
	 */
	public String getOpenUdid() {
		return openUdid;
	}
	/**
	 * @param openUdid the openUdid to set
	 */
	public void setOpenUdid(String openUdid) {
		this.openUdid = openUdid;
	}
	/**
	 * @return the adxType
	 */
	public int getAdxType() {
		return adxType;
	}
	/**
	 * @param adxType the adxType to set
	 */
	public void setAdxType(int adxType) {
		this.adxType = adxType;
	}


	public String getExceptionMsg() {
		return exceptionMsg;
	}


	public void setExceptionMsg(String exceptionMsg) {
		this.exceptionMsg = exceptionMsg;
	}
	
	
}
